﻿using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Domain.Entities;

namespace AbpToDomain.EntityInfo
{
    public class CustomOutRep:Entity
    {

        [Key]
        public Guid Id { get; set; }
        //单号
        [Comment("单号")]
        public string BILLNO { get; set; }
        //物料编码
        public string MATERIALCODE { get; set; }
        //物料批次
        public string BATCH { get; set; }
        //数量
        public int QTY { get; set; }
        //标签
        public string BARCODEOD { get; set; }
        //新标签
        public string BARCODENEW { get; set; }
        //工厂 默认CN11
        public string PLANT { get; set; } = "CN11";
        [Comment("日期")]
        public DateTime? CreateTime { get; set; }
        [Comment("发送日期")]
        public DateTime? UpdateTime { get; set; }
        [Comment("是否发送")]
        public bool IsSend { get; set; }

        [Comment("拣配id")]
        public int? JPID { get; set; }
        [Comment("删除ID")]
        public int? DETAILID { get; set; }
        public override object?[] GetKeys()
        {
            return new object?[] { Id};
        }

    }
}
